package com.uenpay.util.net.http;

/**
 * Created by liulou on 2017/4/12.
 * desc:
 */

public class HostAddress {
    private final String ip;
    private final int amsPort;
    private final int rmsPort;
    private final boolean isHttps;

    public HostAddress(String ip, int amsPort, int rmsPort, boolean isHttps) {
        this.ip = ip;
        this.amsPort = amsPort;
        this.rmsPort = rmsPort;
        this.isHttps = isHttps;
    }

    public String getIp() {
        return ip;
    }

    public int getAmsPort() {
        return amsPort;
    }

    public int getRmsPort() {
        return rmsPort;
    }

    public boolean isHttps() {
        return isHttps;
    }
}
